net/http.http2StreamError.Code (field)
14 uses
net/http (current package)
h2_bundle.go#L1231: Code http2ErrCode
h2_bundle.go#L1241: return http2StreamError{StreamID: id, Code: code}
h2_bundle.go#L1246: return fmt.Sprintf("stream error: stream ID %d; %v; %v", e.StreamID, e.Code, e.Cause)
h2_bundle.go#L1248: return fmt.Sprintf("stream error: stream ID %d; %v", e.StreamID, e.Code)
h2_bundle.go#L6741: code = http2ErrCode(e.Code)
h2_bundle.go#L7294: if se.Code == http2ErrCodeProtocol && se.Cause == http2errFromPeer {
h2_bundle.go#L7298: return se.Code == http2ErrCodeRefusedStream
h2_bundle.go#L8137: cc.writeStreamReset(cs.ID, se.Code, err)
h2_bundle.go#L8885: Code: http2ErrCodeProtocol,
h2_bundle.go#L8914: Code: http2ErrCodeProtocol,
h2_bundle.go#L9231: Code: http2ErrCodeProtocol,
h2_bundle.go#L9239: Code: http2ErrCodeProtocol,
h2_bundle.go#L9248: Code: http2ErrCodeProtocol,
h2_bundle.go#L9857: return ctx.Framer().WriteRSTStream(se.StreamID, se.Code)